package lesson6.example4;
import java.lang.instrument.Instrumentation;

public class JVMAgent {
	public static void agentmain(String args, Instrumentation inst) {
		System.out.println("loading dynamic agent ...");
		System.load("/media/mazhi/sourcecode/workspace/projectjava5/bytecode-examples/bytecode-example-6-03/src/libagent.so");
		MethodTrace test = new MethodTrace();
		test.test();
		test.trace();
	}
}